package com.hilon.segment.jpa.controller;

import com.hilon.base.controller.BaseController;
import com.hilon.segment.jpa.entity.WareHouse;
import com.hilon.segment.jpa.service.WareHouseService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ware-house")
public class WareHouseController extends BaseController<WareHouse> {
  private final WareHouseService wareHouseService;

    public WareHouseController(WareHouseService wareHouseService) {
        this.wareHouseService = wareHouseService;
        super.buildEntityHandleService(wareHouseService);
    }
}
